import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

// import { LoadComponent } from './load/load.component';
import { HomeComponent } from './home/home.component';
import { AboutComponent } from './about/about.component';


const managerRoutes = [
      { path: '', redirectTo: 'home', pathMatch: 'full' },
      { path: 'home', Component: HomeComponent },
      { path: 'about', loadChildren: './about/about.module#AboutModule' }
];

@NgModule({
  imports: [RouterModule.forChild(managerRoutes)],
  exports: [RouterModule]
})
export class managerRoutesModule { }
